Create the Acknowledgement MAC – New Terminals

Command:

Create the Acknowledgement MAC for new terminals

Notes:

Use of this command requires the optional ESP licence. Error code 67 will be returned if the command is not licensed.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Command Code

2 A

Value “Y2”

Mode Flag

1 N

Mode Flag:

0 = *KMACACK supplied

1 = No *KMACACK supplied

*KMACACK

32 H

Double length KMACACK encrypted under LMK pair 20-21 variant 9, only supplied if Mode Flag = 0.

CLA

1 B

CLA

INS

1 B

INS

P1P2

2 B

P1P2

LC

1 B

LC

IDTHREAD

1 B

IDTHREAD

Action Requested

1 B

Action Requested

RIDPSAM

5 B

The RID of the PSAM Creator

IDPSAMCREATOR

4 B

The identifier assigned to the PSAM creator by the RIDPSAM owner

IDPSAM

4 B

Identifier for a PSAM

DATEPSAM

2 B

Current month

IDBATCH

2 B

Identifier for a POS Transaction Batch

NTRECORD

2 B

The number of payment records in a batch

End Message Delimiter

1 C

Optional. Must be present if a message trailer is present. Value X'19

Message Trailer

n A

Optional. Maximum length 32 characters

 

 


 

Field

Length & Type

Details

RESPONSE MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Response Code

2 A

Value “Y3”

Error Code

2 N

00 – No error.

10 – KMAC parity error

12 – No keys loaded in user storage

13 – LMK error – report to Supervisor

15 – Error in input data

21 – Invalid user storage index

70 – Invalid Mode Flag

  

SACK

16 H

Acknowledgement MAC

End Message Delimiter

1 C

Will only be present if present in the command message. Value X'19

Message Trailer

n A

Will only be present if in the command message. Maximum length 32 characters